.modal {
    display: none;
    overflow-y: auto;
    position: fixed;
    top: $top-bar-h-small;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(249,249,249,0.9);
        
    .close-modal {
        display: block;
    }
}

.close-modal {
    display: none;
    position: fixed;
    top: $top-bar-h-small;
    right: 30px;
    margin-right: 0px;
    border: none;
    padding: 0;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 24px;
    background-color: rgba(#FFF, 0.9);
    z-index: 10;
    &:hover, &:focus {
        background-color: #FFF;
    }
}

@include min-screen ($vw-small) {
    .modal {
        top: $top-bar-h-large;
    }
    .close-modal {
        top: $top-bar-h-large;
    }
}
@include min-screen ($vw-xlarge) {
    .close-modal {
        right: 50%;
        margin-right: -550px;
    }
}